﻿

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IotClientService.Models.Lg;
/// <summary>
/// 一次注液数据
/// </summary>
public class LgLiquidData
{
    /// <summary>
    /// 一次注液总量
    /// </summary>
    public string LiquidTotal { get; set; }
    /// <summary>
    /// 一次注液前称重
    /// </summary>
    public string LiquidFront { get; set; }
    /// <summary>
    /// 一次注液后称重
    /// </summary>
    public string LiquidBack { get; set; }

    public override string ToString()
    {
        var msg = $"{LiquidTotal.PadLeft(6,'0')}{LiquidFront.PadLeft(7, '0')}{ LiquidBack.PadLeft(7, '0')}";

        return msg;
    }
}
